package com.sportswork.sportswork.core.mapper;

import com.sportswork.sportswork.core.entity.Info;

import java.util.List;

/**
 * @author dengwei
 * @date 2020/1/9 14:43
 * @description
 */
public interface InfoMapper {
    void addInfo(Info info);
    Info getInfo(String id);
    Info getInfoByNumber(String number);
    List<Info> getAllInfos(String title);
    void deleteInfo(String id);
    void deleteInfos(String ids);
    void setInfo(Info info);
    long getCount();
}
